package tripx.site;

import tripx.sql.QueryObject;

public class DbFood extends QueryObject {

	private int fid; // food id

	public String fname; // food name

	public String intro; // food introduction

	public int cid;

	public DbFood(String fname, String intro, int cid) {
		this(-1, fname, intro, cid);
	}

	public DbFood(int fid, String fname, String intro, int cid) {
		this.fid = fid;
		this.fname = fname;
		this.intro = intro;
		this.cid = cid;
	}

	public int getFoodId() {
		return fid;
	}

}
